package com.leo.ui;

import com.almasb.fxgl.app.scene.StartupScene;
import javafx.scene.layout.StackPane;

/**
 * 开场动画
 */
public class ClientStartupScene extends StartupScene {
    public ClientStartupScene(int appWidth, int appHeight) {
        super(appWidth, appHeight);
        StackPane stackPane = new StackPane();
        stackPane.setPrefSize(appWidth, appHeight);
        stackPane.setStyle("-fx-background-color: black");
        getContentRoot().getChildren().add(stackPane);
    }
}
